package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.entity.Result;
import org.dey.pojo.ArgetManagement;
import org.dey.pojo.PageVo;

import java.util.Map;

public interface ArgetManagementService extends IService<ArgetManagement> {
    //根据id查
    public ArgetManagement queryAmById(int amid);

    //查所有
    PageVo<ArgetManagement> queryAm(ArgetManagement argetManagement, int pageNum, int pagesize);

    //添加
    public Map addAm(ArgetManagement argetManagement);

    //修改
    public int  updateAm(ArgetManagement argetManagement);

    //删除
    public Result deleteAm(int amid);

}
